package com.duxiaolie.demobook.service;

import com.duxiaolie.demobook.entity.User;
import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * @author: WeiYingYu
 * Description: TODO
 * <p>File Created at 2020/10/18</p>
 */
public interface UserService {
    /**
     * 查询所有用户
     * @return
     */
    List<User> getAllUser();

    /**
     * 删除用户
     * @param id
     */
    void del(Integer id);
}
